package com.kanas.webak.organization.service;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.kanas.webak.organization.domain.Calendar;

public interface CalendarService {

	String addNew(Calendar calendar, String oid ,String type) throws Exception;

	Page<Calendar> findByOrg(Pageable pageabl, String orgId);
	
	Page<Calendar> findByOrgAndYear(Pageable pageabl, String orgId, String year);

	String remove(String ruleId);
	
	Calendar findOne(String cId);

	String edit(Calendar calendar, String cid);

	String upSortNum(String oldId) throws Exception;

	String removeItem(String itemId) throws Exception;
	
}
